<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>体检报告详情</title>
	<%- include('../_global/baseLibsJKDA') %>
	<link rel="stylesheet" href="/static/css/jkda/page-main.css}"/>
	<!--<link rel="stylesheet" href="/static/css/public.css">-->
<style type="text/css">
html,body {
	width: 100%;
	height: 100%;
	margin: 0px;
}
.padding4{
padding:0.31429rem ;
}
tr td {
	border: 1px solid #c8c8c8;
	padding: 0.71429rem 0.71429rem;
	font-size: 0.85714rem;
	color: #7a7a7a;
	text-align: center;
}
</style>


</head>

<body>
<section class="page-inspect-detail">
   <!--aside class="inspect-detail-title">
       <span class="time">2010-01-31</span><span class="hospital">市中心医院</span><span class="name">任柳奎</span>
   </aside-->
   <table class="table-list" style="width:100%">
       <tbody id="detailTable">
      		<tr class="row">
      			<td class="col-xs-3 padding4">体检日期</td>
      			<td class="col-xs-2 padding4">健康评价异常标志</td>
      			<td class="col-xs-2 padding4">健康指导名称</td>
      			<td class="col-xs-2 padding4">危险因素控制建议名称</td>
      			<td class="col-xs-3 padding4">体检机构名称</td>
      		</tr>
       </tbody>
   </table>
</section>
  
</body>
<script type="text/javascript">



    var page_tjbgDetail = (function($, page_tjbgDetail) {

        function initdata(){
            var result = StoreCache.getCache("jkdaTjbgCache");
            page_tjbgDetail.callBack(result);
        }

        function callBack(result){
            var trs = [];
            $(result).each(function(){
                var tjbgzy = this.split("^|^");
                var tjrq = tjbgzy[0];
                var jkyc = tjbgzy[1];
                var jkzd = tjbgzy[2];
                var wxys = tjbgzy[3];
                var tjjg = tjbgzy[4];

                var tr1 = $("<tr>");
                tr1.attr("class","row");
                var td1 = $("<td>");
                td1.attr("class","col-xs-3 padding4");
                var str;
                var date;
                if(StringUtils.isEmpty(tjrq)){
                    str = tjrq;
                }else{
                    date = new Date(tjrq.replace(/(\d{4})(\d{2})(\d{2})/g,'$1-$2-$3'));
                    str = date.Format("yyyy-MM-dd");
                }
                td1.html(str);
                td1.appendTo(tr1);
                var td2 = $("<td>");
                td2.attr("class","col-xs-2 padding4");
                td2.attr("style","word-break:break-all; ");
                td2.html(jkyc);
                td2.appendTo(tr1);
                var td3 = $("<td>");
                td3.attr("class","col-xs-2 padding4");
                td3.attr("style","word-break:break-all;");
                td3.html(jkzd);
                td3.appendTo(tr1);
                var td4 = $("<td>");
                td4.attr("class","col-xs-2 padding4");
                td4.attr("style","word-break:break-all;");
                td4.html(wxys);
                td4.appendTo(tr1);
                var td5 = $("<td>");
                td5.attr("class","col-xs-3 ");
                td5.attr("style","word-break:break-all;padding:0.51429rem");
                td5.html(tjjg);
                td5.appendTo(tr1);
                trs.push(tr1);
            });
            $("#detailTable").append(trs);
        }

        var cfg_def = {
            initdata: initdata,
            callBack: callBack,
        }

        page_tjbgDetail.init = function(cfg){
            $.extend(page_tjbgDetail, cfg_def, cfg);
            page_tjbgDetail.initdata();

        }

        return page_tjbgDetail;
    })(jQuery, {});
	
</script>


</html>